package cn.com.jenson.dao.file.bo;

import cn.com.jenson.common.BasicBo;
import cn.com.jenson.entity.file.File;
import lombok.*;
import org.springframework.web.multipart.MultipartFile;

@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class FileBo extends BasicBo<File,FileBo> {
    private Integer id;
    private String fileName;
    private String filePath;
    //  文件格式
    private String type;
    //文件后缀
    private String format;
    @NonNull
    private String mdKey;
    @NonNull
    private Integer number;
    @NonNull
    private Integer count;
    @NonNull
    private MultipartFile file;
}
